﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections;
using System.ComponentModel;
using ObjectModel.PowerPoint.New;

namespace ViewComponents.PowerPoint.ViewModels
{
    public class BeforeTextRangeDeletedEventArgs : CancelEventArgs
    {
        public LinkedTextRange TextRangeToDelete { get; set; }

        public bool IsDelayed { get; private set; }

        public BeforeTextRangeDeletedEventArgs(LinkedTextRange textRangeToDelete, bool isDelayed = false)
        {
            TextRangeToDelete = textRangeToDelete;
            IsDelayed = isDelayed;
        }
    }
}
